<template>
	<nav-bar back>投诉<button class="confirm" @click="submit()">提交</button></nav-bar>
	<view class="page complaint">
		<uni-easyinput :inputBorder="false" class="content" type="textarea" v-model="content" />
	</view>
</template>

<script>
	export default {
		data() {
			return {
				content: ""
			}
		},
		methods: {
			submit() {
				// 投诉功能只是为了过审需要，模拟请求
				setTimeout(() => {
					uni.showToast({
						title: "感谢您的反馈，工作人员会在24小时内核实并处理",
						icon: "none"
					})
				}, 300)
			}
		}
	}
</script>

<style lang="scss" scoped>
	.title {
		button {
			position: absolute;
			color: #fff;
			background-color: #07c160;
			right: 20rpx;
			bottom: 10rpx;
			padding: 0;
			font-size: 30rpx !important;
			width: 120rpx;
			line-height: 60rpx;
		}
	}


	.uni-easyinput {
		height: 100%;

		::v-deep .uni-easyinput__content {
			padding: 0 20rpx;
			height: 100%;
			font-size: 30rpx;
		}
	}
</style>